import axios from '@/libs/request/axios'
// 获取参数信息 add_by_gjq
export const getOptionList = (params) => {
    return axios.request({
        url: `/case/creditOption/queryOptionList`,
        data: params,
        method: 'post'
    })
}
// 添加参数配置 add_by_gjq
export const addOption = (params) => {
    return axios.request({
        url: '/case/creditOption/addOption',
        data:params,
        method: 'post'
    })
}
// 编辑参数配置 add_by_gjq
export const editOption = (params) => {
    return axios.request({
        url: '/case/creditOption/editOption',
        data:params,
        method: 'post'
    })
}
// 删除参数配置 add_by_gjq
export const deleteOption = (id, params) => {
    return axios.request({
        url: `/case/creditOption/deleteOption/${id}`,
        data:params,
        method: 'delete'
    })
}


